/*
* @Author: sc
* @Date:   2019-01-11 21:19:14
* @Last Modified by:   sc
* @Last Modified time: 2019-01-12 21:04:10
*/

import React           							from 'react';
import ReactDOM  								from 'react-dom';
import { observer, Provider } 					from 'mobx-react';
import {BrowserRouter as Router, Route, Switch} from 'react-router-dom';

import Home  									from 'page/home/index.jsx';
import store 									from 'store/todo-list/index.jsx';
import DevTools from 'mobx-react-devtools'

class App extends React.Component{
	render(){
		return(
			<Router>
				<Switch>
					<Route path="/" component={Home}/>
				</Switch>
			</Router>
		);
	}
}

ReactDOM.render(
	<Provider store={store}>
		<App/>
	</Provider>,
	document.getElementById('container')
);